/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

header {
  text-align: center;
  background: #333;
  color: #fff;
  padding: 1rem;
}



  
.btn {
    display: inline-block;
    background: #0073e6;
    color: white;
    padding: 12px 20px;
    font-size: 1.2em;
    border-radius: 5px;
    text-decoration: none;
}

.btn:hover {
    background: #005bb5;
}

/* Blog Container Grid */
.blog-container {
  display: grid;
   grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: auto;
  gap: 35px;
  padding-bottom: 20px;
  white-space: nowrap; /* Prevent content wrapping */
}
.blog-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 250px; /* Fixed width for each card */
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.blog-card h2 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.blog-card p {
  font-size: 0.9rem;
  color: #555;
}

.blog-card a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.blog-card a:hover {
  color: #0056b3;
}

/* Blog Card */
.single-blog {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 15px;
  overflow: hidden;
  width: 300px; /* Fixed width for each card */
}

.single-blog img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.single-blog h4 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.single-blog span {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.single-blog p {
  font-size: 0.9rem;
  color: #555;
}

.single-blog .brand-button {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: #007bff;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
}

.single-blog .brand-button:hover {
  background: #0056b3;
}

/* Load More Button */
.load-more {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.load-more:hover {
  background: #0056b3;
}
/* Footer Styling */
footer {
    background-color: #333; /* Dark gray background */
    color: #fff; /* White text */
    padding: 20px 0;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ff9900; /* Highlighted color for section headings */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff9900; /* Highlight link color on hover */
}

/* Social Icons */
.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: 25px;
    height: 25px;
}

.social-icons a:hover {
    color: #ff9900; /* Highlight color on hover */
}

/* Footer Bottom Section */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #bbb; /* Light gray text */
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section {
        margin: 10px auto;
    }
}
